package cn.ii8080.i8.web;
import java.io.Serializable;
import java.util.Set;
public class ApiVo implements Serializable {
    /**
     * 接口名
     */
    private String name;
    /**
     * 请求方法
     */
    private Set<String> methods;
    /**
     * 请求地址
     */
    private Set<String> urls;
    /**
     * 是否启用
     */
    private Boolean enabled;
    /**
     * 接口角色
     */
    private Set<String> roles;
    /**
     * AND OR
     */
    private String rolesLogical;
    /**
     * 接口权限
     */
    private Set<String> permissions;
    /**
     * AND OR
     */
    private String permissionsLogical;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<String> getMethods() {
        return methods;
    }

    public void setMethods(Set<String> methods) {
        this.methods = methods;
    }

    public Set<String> getUrls() {
        return urls;
    }

    public void setUrls(Set<String> urls) {
        this.urls = urls;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Set<String> getRoles() {
        return roles;
    }

    public void setRoles(Set<String> roles) {
        this.roles = roles;
    }

    public String getRolesLogical() {
        return rolesLogical;
    }

    public void setRolesLogical(String rolesLogical) {
        this.rolesLogical = rolesLogical;
    }

    public Set<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(Set<String> permissions) {
        this.permissions = permissions;
    }

    public String getPermissionsLogical() {
        return permissionsLogical;
    }

    public void setPermissionsLogical(String permissionsLogical) {
        this.permissionsLogical = permissionsLogical;
    }
}
